package com.siwei.mes.entity.experiment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 试验委托当年配置记录(ExperimentYearConfig)实体类
 *
 * @author linzi
 * @since 2024-08-10 13:59:25
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_experiment_year_config")
@ApiModel(value = "ExperimentYearConfig", description = "试验委托当年配置记录")
public class ExperimentYearConfig implements Serializable {
    private static final long serialVersionUID = 505325642841528426L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "试验委托当年配置记录主键ID", name = "id")
    private Long id;
    /**
     * 试验委托id
     */
    @Column(name = "experiment_id")
    @ApiModelProperty(value = "试验委托id", name = "experimentId")
    private Long experimentId;
    /**
     * 试验委托编号
     */
    @Column(name = "experiment_no")
    @ApiModelProperty(value = "试验委托编号", name = "experimentNo")
    private String experimentNo;
    /**
     * 1-水泥 2-粉煤灰 3-矿渣粉 4-粗骨料 5-细骨料 6-外加剂 7-混凝土
     */
    @Column(name = "experiment_type")
    @ApiModelProperty(value = "1-水泥 2-粉煤灰 3-矿渣粉 4-粗骨料 5-细骨料 6-外加剂 7-混凝土", name = "experimentType")
    private Integer experimentType;
    /**
     * 试验项目code
     */
    @Column(name = "test_code")
    @ApiModelProperty(value = "试验项目code", name = "testCode")
    private String testCode;
    /**
     * 试验项目名称
     */
    @Column(name = "test_name")
    @ApiModelProperty(value = "试验项目名称", name = "testName")
    private String testName;
    /**
     * 年份
     */
    @Column(name = "year_no")
    @ApiModelProperty(value = "年份", name = "yearNo")
    private Integer yearNo;
    /**
     * 配合比
     */
    @Column(name = "phb")
    @ApiModelProperty(value = "配合比", name = "phb")
    private String phb;
    /**
     * 工程名称
     */
    @Column(name = "gcmc")
    @ApiModelProperty(value = "工程名称", name = "gcmc")
    private String gcmc;

    @Column(name = "ksdj")
    @ApiModelProperty(value = "抗渗等级")
    private String ksdj;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;
}
